<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="">个人素材管理</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="">
        手机号:
        <input type="text" class="form-control" name="phone" style="width: 200px;"
               value="{$Request.param.phone|default=''}" placeholder="请输入手机号...">&nbsp; &nbsp;
   
        <input type="submit" class="btn btn-primary" value="搜索"/>
        
    </form>
    <form method="post" class="js-ajax-form margin-top-20" action="">
     
        <div>
             <button class="btn btn-danger btn-sm js-ajax-submit" type="submit"
                    data-action="{:url('toDelete')}" data-subcheck="true" data-msg="您确定删除吗？">
                {:lang('DELETE')}
            </button>
        </div>
        <input type="hidden" name="phone" value="{$Request.param.phone|default=''}">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
                <th >学校</th>
                <th >姓名</th>
                <th>素材类型</th>
				<th width="280px">七牛云地址</th>
                <th>容量</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
                               value="{$vo.id}"></td>
                  
                    <td>{$data_user.school.name}</td>
					<td>{$data_user.realName}</td>
                    <td>
                        {$vo.type}
                    </td>
                    <td>
                        <foreach name="vo.data" item="v">
                            <a href="{$v}" target='_blank'>{$v}</a>
                        </foreach>
                    </td>
                    <td>
                        <empty name="vo.memory">
                            未知
                        <else/>
                            {$vo.memory}M
                        </empty>
                    </td>
                  
                </tr>
            </foreach>
            </tbody>
            <tfoot>
            <tr>
               <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
                <th >学校</th>
                <th >姓名</th>
                <th>素材类型</th>
                <th width="280px">七牛云地址</th>
                <th>容量</th>
                
            </tr>
            </tfoot>
        </table>
        <ul class="pagination">{$page|default=''}</ul>

    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>

</body>
</html>